package org.cmg.study.mybatis.entity;

import java.util.Date;

/**
 * @author CMG
 * @version 1.0
 * @cLassName Website
 * @description
 * @date 2021/9/6 15:53
 **/
public class Website {
    private int id;
    private String name;
    private String url;
    private int age;
    private String country;
    private Date createTime;

    public Website() {
    }

    public Website(int id, String name, String url, int age, String country, Date createTime) {
        this.id = id;
        this.name = name;
        this.url = url;
        this.age = age;
        this.country = country;
        this.createTime = createTime;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public int getAge() {
        return age;
    }

    public void setAge(int age) {
        this.age = age;
    }

    public String getCountry() {
        return country;
    }

    public void setCountry(String country) {
        this.country = country;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    @Override
    public String toString() {
        return "Website{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", url='" + url + '\'' +
                ", age=" + age +
                ", country='" + country + '\'' +
                ", createTime=" + createTime +
                '}';
    }
}
